package com.ruoyi.warning.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author chenhc
 * @since 2025-05-08
 */
@Data
@TableName("customoids")
@ApiModel("自定义oid")
public class Customoids {

    @TableId(value = "customoid_id", type = IdType.AUTO)
    private Integer customoidId;

    private Integer deviceId;

    private String customoidDescr;

    private Byte customoidDeleted;

    private Object customoidCurrent;

    private Object customoidPrev;

    private String customoidOid;

    private String customoidDatatype;

    private String customoidUnit;

    private Integer customoidDivisor;

    private Integer customoidMultiplier;

    private Object customoidLimit;

    private Object customoidLimitWarn;

    private Object customoidLimitLow;

    private Object customoidLimitLowWarn;

    private Byte customoidAlert;

    private Byte customoidPassed;

    private LocalDateTime lastupdate;

    private String userFunc;
}
